import request from '@/utils/request'
export function uploadExcel(url, formdata) {
  return request({
    url: url, // supplier/goods/category/importInBatch
    method: 'POST',
    headers: { 'Content-Type': 'multipart/form-data' },
    data: formdata
  })
}

export default { uploadExcel }
